package object;

public class ObjectDemo {
    public static void main(String[] args) {
        Student student = new Student();
        System.out.println("student = " + student);//com.atguigu.object.Student@4554617c
        //获取字节码对象
        System.out.println("student.getClass() = " + student.getClass());//class com.atguigu.object.Student

        System.out.println("student.hashCode() = " + student.hashCode());//1163157884
    }
}
